package cn.tedu_two;

public class Test1 {
    public static void main(String[] args) {
        A a=A.get();
        A a1=A.get();
        System.out.println(a==a1);
    }
}
class A{
    private A(){ }
    static private A a=new A();
    static public A get(){
        return a;
    }
}